Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-16368: Constraints update for segment.index.bytes #18596

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

jayteej
Copy link
Contributor

@jayteej jayteej commented Jan 17, 2025

KIP-1030: Update minimum for segment.index.bytes / log.index.size.max.bytes to 1KB.

WIP: Need to resolve issues with TieredStorageTestHarness using index.size to roll segments.

@github-actions github-actions bot added core Kafka Broker storage Pull requests that target the storage module triage PRs from the community small Small PRs labels Jan 17, 2025
@@ -178,6 +178,8 @@ public static Map<String, String> createTopicConfigForRemoteStorage(boolean enab
// a "small" number of records (i.e. such that the average record size times the number of records is
// much less than the segment size), the number of records which hold in a segment is the multiple of 12
// defined below.

// TODO: WIP - Need to consider options for dealing with this segment roll approach not being valid for this PR.
topicProps.put(TopicConfig.SEGMENT_INDEX_BYTES_CONFIG, String.valueOf(12 * maxRecordBatchPerSegment));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@divijvaidya let's discuss how best to handle this please

@github-actions github-actions bot removed the triage PRs from the community label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Kafka Broker small Small PRs storage Pull requests that target the storage module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant